package com.lanou3g.ptp.vo;

import com.lanou3g.ptp.entity.Clazz;
import lombok.Data;

@Data
public class ClassVO extends Clazz {

    private String collegeName;
    private String majorName;
    private String leaderName;
    private String monitorName;
    private Long count;

    public ClassVO(Clazz clazz) {
        this.setId(clazz.getId());
        this.setName(clazz.getName());
        this.setMajorId(clazz.getMajorId());
        this.setLeaderId(clazz.getLeaderId());
        this.setMonitorId(clazz.getMonitorId());
        this.setStatus(clazz.getStatus());
        this.setCreateTime(clazz.getCreateTime());
        this.setUpdateTime(clazz.getUpdateTime());
    }

    public ClassVO() {
    }
}
